package com.karrim.server;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.karrim.server.module.ServerModule;
import com.karrim.server.util.Util;
import com.karrim.server.util.array.DynamicList;
import com.karrim.server.util.array.def.DynamicArray;
import java.io.IOException;
import java.net.Socket;
import java.util.Iterator;

/**
 *
 * @author andrea.cantafio
 */
public class Main {

    public static void main(String[] argv) throws ClassNotFoundException, IOException {
        Injector injector = Util.get().getInjector(ServerModule.class);
        Server server = injector.getInstance(Server.class);
        server.start();
        Socket socket = new Socket("127.0.0.1", 80);
        socket.getOutputStream().write(15);
    }
}
